package com.tianjipms.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.tianjipms.dto.UserVehicleDTO;
import com.tianjipms.entity.Vehicle;

import com.tianjipms.utils.Result;
import com.tianjipms.vo.VehicleQueryVo;

public interface VehicleService extends IService<Vehicle> {
    boolean existsByLicenseNumber(String licenseNumber);
    IPage<Vehicle> findVehiclListByPage(IPage<Vehicle> page, Long userId);
    Result updateUserByLicenseNumber(UserVehicleDTO vehicleDTO);
    Vehicle findVehiclByLicenseNumber(String licenseNumber);
}
